const columns=[
  {
      title:'序号',
      key:'index',
      dataIndex:'index'
  },
  {
      title:'编码',
      key:'number',
      dataIndex:'number'
  },
  {
      title:'英文名',
      key:'name',
      dataIndex:'name'
  },
  {
      title:'中文名',
      key:'cnName',
      dataIndex:'cnName'
  },
  {
      title:'数据类型',
      key:'dataType',
      dataIndex:'dataType'
  },
  {
      title:'数据长度',
      key:'length',
      dataIndex:'length'
  },
  {
      title:'是否主键',
      key:'isPk',
      dataIndex:'isPk'
  },
  {
      title:'是否增量',
      key:'increment',
      dataIndex:'increment'
  },
]

const valueToDataType = {
  1: 'tinyint', 2: 'smallint', 3: 'mediumint', 4: 'int', 5: 'bigint',
  6: 'float', 7: 'double', 8: 'date', 9: 'time', 10: 'year',
  11: 'datetime', 12: 'timestamp', 13: 'char', 14: 'varchar', 15: 'tinyblob',
  16: 'tinytext', 17: 'blob', 18: 'text', 19: 'mediumblob', 20: 'mediumtext',
  21: 'longblob', 22: 'longtext'
}
const valueToTF = {
  0: '否', 1: '是'
}
const valueToShareType = {0: '有条件共享', 1: '无条件共享', 3: '目', }
  
const valueToShareMode = {1: '平台共享模式'}
const valueToResourceForm = {1: '数据库', 2: '文件', 3: '接口'}
const valueToResStatus = {0: '未报送',1: '审核中', 2: '已退回'} //报送状态
const valueToVerifyStatus = {1: '待审核',2: '未通过', 3: '已通过'}

const valueToPublishStatus = {3: '未发布', 4: '已发布'}

//---------------------   基本信息里数字对应的中文   -------------------------/
const valueToResourceFormType = {1: 'access'}
const valueToShareModeType = {1: '数据库', 2: '文件', 3: '接口'}
const valueToisOpen = { 0: '未开放', 1: '开放'}
const valueToUpdateCycle = { 1:'每时'}
export {
  columns,
  valueToDataType,
  valueToTF,
  valueToShareMode,
  valueToResStatus,
  valueToShareType,
  valueToResourceForm,
  valueToResourceFormType,
  valueToShareModeType,
  valueToUpdateCycle,
  valueToisOpen,
  valueToVerifyStatus,
  valueToPublishStatus
  
}